// 投保人，被保人，受益人  title 值数据

import staticData from 'lib/staticData'

const holderKeys = [{
  ctype: 2,
  title: '证件类型',
  key: 'certiType',
  list: staticData.certiTypeEnumList
}, {
  title: '证件号码',
  key: 'certiNo'
}, {
  title: '中文全名',
  key: 'cnFullName'
}, {
  ctype: 3,
  title: '出生日期',
  key: 'birthday'
}, {
  ctype: 2,
  list: staticData.genderEnumList,
  title: '性别',
  key: 'gender'
}, {
  title: '电子邮箱',
  key: 'email'
}]

const insureCustKeys = [
  {
    ctype: 2,
    list: staticData.relationEnumList,
    title: '与投保人关系',
    key: 'relation'
  }, {
    ctype: 2,
    list: staticData.certiTypeEnumList,
    title: '证件类型',
    key: 'certiType'
  }, {
    title: '证件号码',
    key: 'certiNo'
  }, {
    ctype: 3,
    title: '出生日期',
    key: 'birthday'
  }, {
    ctype: 2,
    title: '性别',
    list: staticData.genderEnumList,
    key: 'gender'
  }
]

const beneficiaryCustKeys = [
  {
    ctype: 2,
    list: staticData.relationEnumList,
    title: '与被保人关系',
    key: 'insurantRelation'
  }, {
    ctype: 2,
    list: staticData.certiTypeEnumList,
    title: '证件类型',
    key: 'certiType'
  }, {
    title: '证件号码',
    key: 'certiNo'
  }, {
    title: '出生日期',
    ctype: 3,
    key: 'birthday'
  }, {
    ctype: 2,
    list: staticData.genderEnumList,
    title: '性别',
    key: 'gender'
  }, {
    title: '可得权益',
    key: 'benefitRatio',
    tip: '请输入0-100的数字',
    inputType: 'number'
  }
]

export {holderKeys, insureCustKeys, beneficiaryCustKeys}
